package com.pd.backend.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 用户身份实体
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "用户身份实体")
public class PdAuthUser {
  @ApiModelProperty(value = "用户身份id")
  private Long id;
  @ApiModelProperty(value = "账号")
  private String account;
  @ApiModelProperty(value = "姓名")
  private String name;
  @ApiModelProperty(value = "组织id")
  private Long orgId;
  @ApiModelProperty(value = "岗位ID")
  private Long stationId;
  @ApiModelProperty(value = "邮箱")
  private String email;
  @ApiModelProperty(value = "手机")
  private String mobile;
  @ApiModelProperty(value = "性别\\n#Sex{W:女;M:男;N:未知}")
  private String sex;
  @ApiModelProperty(value = "启用状态 1启用 0禁用")
  private String status;
  @ApiModelProperty(value = "头像")
  private String avatar;
  @ApiModelProperty(value = "工作描述\\r\\n比如：  市长、管理员、局长等等   用于登陆展示")
  private String workDescribe;
  @ApiModelProperty(value = "最后一次输错密码时间")
  private Date passwordErrorLastTime;
  @ApiModelProperty(value = "密码错误次数")
  private Long passwordErrorNum;
  @ApiModelProperty(value = "密码过期时间")
  private Date passwordExpireTime;
  @ApiModelProperty(value = "密码")
  private String password;
  @ApiModelProperty(value = "最后登录时间")
  private Date lastLoginTime;
  @ApiModelProperty(value = "创建人id")
  private Long createUser;
  @ApiModelProperty(value = "创建时间")
  private Date createTime;
  @ApiModelProperty(value = "更新人id")
  private Long updateUser;
  @ApiModelProperty(value = "更新时间")
  private Date updateTime;


}
